package org.hqs.arrangement.mapper;

import org.apache.ibatis.annotations.*;
import org.hqs.arrangement.pojo.Arrangement;

import java.util.List;

public interface ArrangementMapper {

    List<Arrangement> getAllArrangements();

    Arrangement getArrangementById(@Param("id") int id);

    int insertArrangement(Arrangement arrangement);


    int updateArrangement(Arrangement arrangement);


    int deleteArrangementById(@Param("id") int id);

    List<Arrangement> findArrangementByClinicId(@Param("id") int id);
}
